MEMCPYMEMORY FunctionWindows/Unix

A memory function that copies n bytes of memory from source to destination.

Syntax: MEMCPY(destination, source, n)
DEFINT I=90, J=10
'-- After MEMCPY, I should equal 10
MEMCPY(VARPTR(I), VARPTR(J), SIZEOF(INTEGER))

Details
This is similar to the Windows API function call RtlMoveMemory or CopyMemory. The keyword WITH will not work on this, you must fully write out the component name:
'  In this example Form.Caption will not be recognized
WITH Form
   .left =0
   MEMCPY (VARPTR(myString), VARPTR(.caption), SIZEOF(.caption)
END WITH