Cpp Copy Array Into Another Arraylist Vs Linked