I\'m using Marshal.Copy() to copy the pixel information from a Bitmap to an int[] array, the problem resides in the fact that the info
Marshal.Copy()
Bitmap
int[]
IMHO, your bytecount is a number of byte's and now you're dividing bytes by 4 and expecting a set of integers, that are really bytes. The cast is not performed as you want it.
To convert a byte array to int array use:
System.BitConverter.ToInt32(mybyteArray,4);