title: How can I append the content of streams in C#?
body: <p>I am copying one stream to another to get one complete stream at the end and then to save the stream in .wav form, but I am getting the content of first part of the stream. </p>
  
  <p>I am developing recorder with record, pause, stop functionality. When I press the record button, I get a stream and copy this stream to another in the stop button, then I repeat these steps, and when I merge all stream at one place/stream, I only get the content of first copying stream.</p>
  
  <pre><code>public void CopyInputStreamToOutput(Stream fromStream, MemoryStream destination)
  {
      int num;
      byte[] buffer = new byte[fromStream.Length];
      fromStream.Position = 0;
      while ((num = fromStream.Read(buffer, 0, buffer.Length)) != 0)
      {
          destination.Write(buffer, 0, num);
      }
  }
  </code></pre>
  
  <p>I need this: <em>stream1+stream2+stream3+...+streamN=finalStream</em>. How to append one stream to another to get the final stream?</p>
  
  <p>Is there any problem in the position? </p>