Cpp Copy Array Into Another Arraylist Length