title: BinaryWriter to overwrite an existing file c#
body: <p>To write a picture on the memory of my pocket pc i use the following code:</p>
  
  <pre><code>pic = (byte[])myPicutureFromDatabase;
  using (var fs = new BinaryWriter(new FileStream(filepath, FileMode.Append, FileAccess.Write)))
  {
      fs.Write(pic);
      fs.Flush();
      continue;
  }
  </code></pre>
  
  <p>I wanted to ask you if this method overwrite the file with new values if the file with this name already exist or do nothing because already exist this file?
  I need to overwrite the file in eventuality that this file already exist but with old value.</p>