copy method

bool copy(
  1. dynamic target, [
  2. int targetStart,
  3. int sourceStart,
  4. int sourceEnd,
])

Copies data from a region of buf to a region in target even if the target memory region overlaps with buf.

Implementation

external bool copy(target, [int targetStart, int sourceStart, int sourceEnd]);