Hi Batel;
I use the "RtlMoveMemory" external SDK command in my STD Framework "all over the place". Here are some declarations that I use that also work perfectly for me also in 64 bit Apps ...
SUBROUTINE BlobToUIntArray ( REF UnsignedInteger Dest[], REF Blob Source, Long Length ) LIBRARY "kernel32.dll" Alias For "RtlMoveMemory"
SUBROUTINE CopyMemory ( Ref string Destination, ulong Source, long Length ) Library "KERNEL32.dll" Alias For "RtlMoveMemory"
SUBROUTINE CopyMemory ( REF blob dest, longptr srcAddr, longptr len ) LIBRARY "kernel32.dll"Alias For "RtlMoveMemory"
SUBROUTINE CopyMemoryIP ( Ref structure Destination, ulong Source, long Length ) Library "KERNEL32.dll" Alias For "RtlMoveMemory"
SUBROUTINE CopyMemoryIP ( Ref blob Destination, ulong Source, long Length ) Library "KERNEL32.dll" Alias For "RtlMoveMemory"
SUBROUTINE CopyMemoryIP ( Ref ulong Destination, ulong Source, long Length ) Library "KERNEL32.dll" Alias For "RtlMoveMemory"
HTH
Regards ... Chris