copy some sequence elements of vector in another vector at declaration time code example
Example: copy a part of a vector in another in c++
// Copying vector by copy function
copy(vect1.begin(), vect1.end(), back_inserter(vect2));
// Copying vector by copy function
copy(vect1.begin(), vect1.end(), back_inserter(vect2));