title: FileStream adding "extra" characters to TXT file
body: <p>It does not matter if I read a TXT file or a XML file I always see "extra" info added into my file which is saved to disk. We first do the following:</p>
  
  <pre class="lang-cs prettyprint-override"><code>FileStream fs = new FileStream(fileMoverFile.SourcePath, FileMode.Open, FileAccess.Read);
  </code></pre>
  
  <p>Then we assign <code>fs</code> to a variable of type <code>Stream</code> which we pass to the function below:</p>
  
  <pre class="lang-cs prettyprint-override"><code>private void SaveToDisk(Stream fileStream, string saveToPath)
  {
    if (!Directory.Exists(Path.GetDirectoryName(saveToPath)))
    {
      Directory.CreateDirectory(Path.GetDirectoryName(saveToPath));
    }
    FileStream outputStream = new FileInfo(saveToPath).OpenWrite();
    const int bufferSize = 1024;
    byte[] buffer = new byte[bufferSize];
    int bytesRead = fileStream.Read(buffer, 0, bufferSize);
    while (bytesRead &gt; 0)
    {
      outputStream.Write(buffer, 0, bufferSize);
      bytesRead = fileStream.Read(buffer, 0, bufferSize);
    }
    outputStream.Close();
  }
  </code></pre>
  
  <p>When I open the file which was saved to disk, I see extra information which is basically some content of the same file being repeated with some other info which do not belong to the file.
  Very strange.</p>
  
  <p>What could be causing this?</p>