C++ does not support "reflection," or the ability to find program objects at run-time (using their name or by traversing the class hierarchy, etc.). In order to copy the contents of one array into another array, you must have both the source and the destination arrays as variables at hand.
You could simulate this ability by creating a data structure keyed by a string. For example, using STL:
map< string, vector<int> > myVectors;
This creates a map that takes a string as key and returns a vector of integers. In this way you can store vectors into the map keyed by a string value and look up the arrays later based on that string.