BlitzMax has a MemCopy command which can be used instead. It takes two pointers and a length, just as yours do.
EDIT: Not that there's anything wrong with Azathoth's response. I just cross-posted.
EDIT: Not that there's anything wrong with Azathoth's response. I just cross-posted.