Easypt

copy

..Root.algorithm.iterator.copy

Copies the elements in the range [first, last) to destination.

Child of:

iterator

Signatures:

Object, Callable, BlockCallable

Example:

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);