standard.C.string.memmove

memmove is available since version 1.0.

Prototype:

string memmove(string dest, string src, number count)

Parameters

dest
Destination object.
src
Source object.
count
Number of bytes of characters to copy.

Description:

Copies count bytes of characters from src to dest. If some regions of the source area and the destination overlap, memmove ensures that the original source bytes in the overlapping region are copied before being overwritten.

Return value:

The value of dest.