CopyArray(destinationArray, source array, some size1, some size2);
I'm no C++ expert but can't you just get somesize1 and somesize2 from the given arrays?
Edit: found this on google
int arr[17]; int arrSize = sizeof(arr) / sizeof(int);