C#, how to halve a byte array?
<p>I have a byte array defined like this</p>

<pre><code>byte[] fileContents = File.ReadAllBytes(zfoFileName);
</code></pre>

<p>How can I get the first 1/2 of the fileContents byte array?</p>

<p>In other words if the upper bound of the array is 10, I would like a new byte array to have the first 5 values of fileContents. </p>

<p>Thanks in advance</p>
