#includeIn this example, we create a vector called `source` with values `1, 2, 3`. We then create an empty vector called `destination`. We use the `copyTo` function to copy the contents of `source` into `destination`. Finally, we loop through the `destination` vector and print out its contents. The package library that provides the `copyTo` function is not specified as it could be part of any library that provides a C++ vector class.#include int main() { std::vector source{1, 2, 3}; std::vector destination; source.copyTo(destination); for (int i : destination) { std::cout << i << " "; } // Output: 1 2 3 return 0; }