Defined in header <algorithm> template< class InputIt, class Size, class OutputIt >
OutputIt copy_n( InputIt first, Size count, OutputIt result ); (since C++11)
Copies exactly count values from the range beginning at first to the range beginning at result, if count>0. Does nothing otherwise.
Parameters
first - the beginning of the range of elements to copy from count - number of the elements to copy result - the beginning of the destination rang