Cpp Copy Array Into Another Array Methods In Php