#COMPILE EXE
#DIM ALL PBMAIN() AS LONG
    LOCAL src,dst AS STRING * 64
    src = "hello"
    DECLARE SUB RtlMoveMemory LIB "kernel32.dll" (BYVAL dst AS LONG, BYVAL src AS LONG, BYVAL len AS LONG)
    RtlMoveMemory VARPTR(dst), STRPTR(src), 5
    LOCAL v AS LONG
    v = 42

    FUNCTION = 0 FUNCTION
