copy
..Root.algorithm.iterator.copy
Copies the elements in the range [first, last) to destination.
Parameters: Iterator
first, Iterator
last, Iterator
destination
Return value: reference to destination
Object
, Callable
, BlockCallable
import("algorithm");
auto a.=(Array());
a.pushBack("a", "b", "c");
auto b.=(Array(3));
algorithm.iterator.copy(a.begin(), a.end(), b.begin());
log(b);