Cpp Copy Array Python Example Problem