how to retun a copy of a list in java code example Example: java copy list List<Object> copy = new ArrayList<>(original_list);