Cpp Copy Array Into Another Arraylist Vs Hashtable