title: Write bytes into a file without erasing existing bytes
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/181408/best-way-to-write-bytes-in-the-middle-of-a-file-in-java">Best Way to Write Bytes in the Middle of a File in Java</a>  </p>
  </blockquote>
  
  
  
  <p>I have a file in which I need to write bytes. </p>
  
  <p>I know at which position in the file I need to <strong>insert</strong> specific bytes. To make things clear, I need to write bytes in the middle of the file without erasing any existing bytes. The whole operation should then increase the length of the file.</p>
  
  <p>What is the best way to do so?</p>