The bycopy() function
The bycopy() function copies a given number of bytes from one location to another.
Syntax
void bycopy(from, to, length)
char *from;
char *to;
mint length;
- from
- A pointer to the first byte of the group of bytes to copy.
- to
- A pointer to the first byte of the destination group of bytes. The memory area to which to points can overlap the area to which the from argument points. In this case, the function does not preserve the value to which from points.
- length
- The number of bytes to copy.
Important: Take care not to overwrite areas of memory adjacent to the destination area.