BlockCopy copies the contents of memory from one location to another.
void BlockCopy (const void *srcPtr,
void *destPtr,
Size byteCount);
The BlockCopy routine copies the chunk of memory at srcPtr to destPtr. Parameter byteCount specifies how many bytes are copied.
BlockCopy calls BlockMove, using the most appropriate version for the current execution environment and copying task. However, drivers may bypass BlockCopy and call BlockMove directly.
BlockCopy may be called from task level, software interrupt level, or hardware interrupt level.