Ok, why do you need array when you have vectors? Anyways, you can solve that problem with dynamic memory. Here is an example :
std::vector<int> vec;
vec.push_back(1);
vec.push_back(2);
vec.push_back(3);
int vecSize = vec.size();
int *Array = new int[vecSize]; //create dynamic array.
for(int i = 0; i < vecSize; ++i)
cout << Array[i] << endl;
delete Array; //free the memory