CopyMemory (RtlMoveMemory) moves memory either forward or backward, _
aligned or unaligned, in 4-byte blocks, followed by any remaining bytes.
Library
kernel32
Alias
RtlMoveMemory
Type Return
A None Object
Syntax
CopyMemory Destination, Source, Length
The CopyMemory Declaration syntax has these parts:
| Part | Description |
| Destination | Required. A Any Value. Points to the destination of the move. |
| Source | Required. A Any Value. Points to the memory to be copied. |
| Length | Required. A Long Value. Specifies the number of bytes to be copied. |
Remarks
The (Source + Length) can overlap the Destination range passed in to CopyMemory (RtlMoveMemory).