Copies data from one array to another.
array_copy(hnd, from, pos, start, len);
from = array_new(); array_setdata(from, 0, 0x01, 0x02, 0x03, 0x04, 0x05); result = array_printdata(from); hnd = array_new(); result = array_printdata(hnd); array_copy(hnd, from, 0, 1, 3); result = array_printdata(hnd); array_delete(hnd); array_delete(from);
result:
5; 0x01, 0x02, 0x03, 0x04, 0x05 0 3; 0x02, 0x03, 0x04