Marshal::Copy Method
Copies data from a managed array to an unmanaged memory pointer, or from an unmanaged memory pointer to a managed array.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Copy(array<Byte>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed 8-bit unsigned integer array to an unmanaged memory pointer. |
![]() ![]() | Copy(array<Char>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed character array to an unmanaged memory pointer. |
![]() ![]() | Copy(array<Double>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed double-precision floating-point number array to an unmanaged memory pointer. |
![]() ![]() | Copy(array<Int16>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed 16-bit signed integer array to an unmanaged memory pointer. |
![]() ![]() | Copy(array<Int32>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed 32-bit signed integer array to an unmanaged memory pointer. |
![]() ![]() | Copy(array<Int64>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed 64-bit signed integer array to an unmanaged memory pointer. |
![]() ![]() | Copy(IntPtr, array<Byte>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array. |
![]() ![]() | Copy(IntPtr, array<Char>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed character array. |
![]() ![]() | Copy(IntPtr, array<Double>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed double-precision floating-point number array. |
![]() ![]() | Copy(IntPtr, array<Int16>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed 16-bit signed integer array. |
![]() ![]() | Copy(IntPtr, array<Int32>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed 32-bit signed integer array. |
![]() ![]() | Copy(IntPtr, array<Int64>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed 64-bit signed integer array. |
![]() ![]() | Copy(IntPtr, array<IntPtr>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed IntPtr array. |
![]() ![]() | Copy(IntPtr, array<Single>^, Int32, Int32) | Copies data from an unmanaged memory pointer to a managed single-precision floating-point number array. |
![]() ![]() | Copy(array<IntPtr>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed IntPtr array to an unmanaged memory pointer. |
![]() ![]() | Copy(array<Single>^, Int32, IntPtr, Int32) | Copies data from a one-dimensional, managed single-precision floating-point number array to an unmanaged memory pointer. |

