std::copy


SYNOPSIS

template <class InputIterator, class OutputIterator>
  OutputIterator copy (InputIterator first, InputIterator last, OutputIterator result);

LIBRARY

#include <argorithm>

DESCRIPTION

Copy range of elements

Copies the elements in the range [first,last) into the range beginning at result.

The function returns an iterator to the end of the destination range (which points to the element following the last element copied).

정해진 크기의 요소들을 복사한다.

Parameters

배열을 복사한다.

first : 시작 주소

end : 끝 주소