Copies a region of memory to another location in memory.
- The address of the first byte of the destination.
- The address of the first byte of the memory to copy.
- The length of the memory region to copy, as a number of bytes.
memcpy() function quickly copies one region of addressable memory to another. The origin region and the destination region may overlap.
See Memory for information about the memory layout.
memcpy(0x5e00, 0x4300, 128)