I know that the referenc hpvDest and hpvSource can be defined as like:
Byval hpvDest as Long
so that I can use them in conjunction with varptr to work with memory locations directly (which then allows for adding and subtracting memory locations to move stuff in memory like an array), however I doubt that even though it is using a long (a SignedInt32) that it could actually transfer &h7FFFFFFF bytes at once. In fact it crashes when I try to copy merely 100000 (&H186A0) bytes at once. What is going on. Is it really incapable of transfering large ammounts of data at once? Will I need some kind of for-next loop to transfer several megabytes of data?