standard.C.string.memcpy

memcpy is available since version 1.0.

Prototype:

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

Parameters

dest
New buffer.
src
Buffer to copy from.
count
Number of bytes to copy.

Description:

The value of dest. Copies count bytes of src to dest. If the source and destination overlap, the behavior of memcpy is undefined. Use memmove to handle overlapping regions.

Return value:

The value of dest.