Copies a block of memory from one location to another.
            
    Namespace: 
   FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# | 
|---|
public static void CopyMemory( IntPtr dest, IntPtr src, int size )  | 
| Visual Basic (Declaration) | 
|---|
Public Shared Sub CopyMemory ( _ dest As IntPtr, _ src As IntPtr, _ size As Integer _ )  | 
| Visual C++ | 
|---|
public: static void CopyMemory( IntPtr dest, IntPtr src, int size )  | 
Parameters
- dest
 - Type: System..::.IntPtr
A pointer to the starting address of the copied block's destination. 
- src
 - Type: System..::.IntPtr
A pointer to the starting address of the block of memory to copy. 
- size
 - Type: System..::.Int32
 
Remarks
        CopyMemory runs faster than MoveMemory(IntPtr, IntPtr, UInt32).
            However, if both blocks overlap the result is undefined.