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