از کتابخانه استاندار تابع std::copy استفاده کنید.
std::vector<T> vec(10); T arr[10]; std::copy(vec.begin(),vec.end(),arr);