Check out example codes for "how to copy list item to another list in java". It will help you in understanding the concepts better.

Code Example 1

List<Integer> source = Arrays.asList(1,2,3);
List<Integer> dest = Arrays.asList(4,5,6);
Collections.copy(dest, source);

Code Example 2

List<Integer> copy = new ArrayList<>();
copy.addAll(list);

Learn ReactJs, React Native from akashmittal.com