CopyMemory()

Syntax

CopyMemory(*SourceMemoryID, *DestinationMemoryID, Size)
Description
Copy a memory area starting from the *SourceMemoryID to the *DestinationMemoryID.

Parameters

*SourceMemoryID The address where the bytes are copied from.
*DestinationMemoryID The address where the bytes are copied to.
Size The amount of bytes to copy.

Return value

None.

Remarks

The source and destination buffers may not overlap. To copy memory to a destination address that overlaps with the source buffer, use MoveMemory().

See Also

MoveMemory(), CopyMemoryString(), AllocateMemory(), MemorySize()

Supported OS

All

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