The CopyMemory function copies a block of memory from one location to another.
Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)
|Operating Systems Supported|
|Requires Windows NT 3.1 or later; Requires Windows 95 or later|
Points to the starting address of the copied block’s destination.
Points to the starting address of the block of memory to copy.
Specifies the size, in bytes, of the block of memory to copy.
|This function has no return value.|