template <class InputIterator, class OutputIterator> OutputIterator copy (InputIterator first, InputIterator last, OutputIterator result);
[first,last)into the range beginning at result.
[first,last), which contains all the elements between first and last, including the element pointed by first but not the element pointed by last.
myvector contains: 10 20 30 40 50 60 70
[first,last)are accessed (each object is accessed exactly once).