Actually the most efficient way to do this, aside from pinning and unsafe code, is to use the
Buffer.BlockCopy[
^] method.
In your case, it would be:
byte[] source =
byte[] byteSection = new byte[10478];
Buffer.BlockCopy(source, 0, byteSection, 0, byteSection.Length);
That way to copy more/less data just change the size of the byteSection array.