CopyMemory()

Syntax

CopyMemory(*SourceMemoryID, *DestinationMemoryID, Length)
Description
Copy a memory area starting from the *SourceMemoryID (the start memory address) to the *DestinationMemoryID (address of the destination memory) with the specified length (in bytes).

If the source and destination buffers overlap, it is safer to use MoveMemory(), else the result can be wrong.

Supported OS

All

<- CompareMemoryString() - Memory Index - CopyMemoryString() ->