title: C# Append byte array to existing file
body: <p>I would like to append a byte array to an already existing file <code>(C:\test.exe)</code>. Assume the following byte array:</p>
  
  <pre><code>byte[] appendMe = new byte[ 1000 ] ;
  
  File.AppendAllBytes(@"C:\test.exe", appendMe); // Something like this - Yes, I know this method does not really exist.
  </code></pre>
  
  <p>I would do this using File.WriteAllBytes, but I am going to be using an ENORMOUS byte array, and System.MemoryOverload exception is constantly being thrown. So, I will most likely have to split the large array up into pieces and append each byte array to the end of the file.</p>
  
  <p>Thank you,</p>
  
  <p>Evan</p>