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
Try This.
ListB.addAll(listA);