I have a function that checks two arraylists to see if they contain the same elements. It works by copying the two lists, and then using the iterator.remove() function to remove matches. If the lists are empty at the end the function returns true. This works out fine, but the problem is that after the function runs, both of the lists ...