Marshal.Copy Method (Int32(), Int32, IntPtr, Int32)

This type can be used only by trusted applications. If you try to use its members in a partial-trust application, your code will throw a MethodAccessException exception. This type is security-critical, which restricts its use.

[SECURITY CRITICAL]

Copies data from a one-dimensional, managed 32-bit signed integer array to an unmanaged memory pointer.