Namely, without referencing the same object, I need to copy values of elements of one list into another list. These are the lists:
List listA = ne
Use this method of Collections class to copy all elements of ArrayList to another ArrayList:
Collections
Collections.copy(listA, listB);