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