java copy list of objects of different data types code example Example: java copy list List<Object> copy = new ArrayList<>(original_list);