title: FileStream.copyTo(Net.ConnectStream) what happens intern?
body: <p>this code works fine. My question is what happens within the Net.ConnectionStream when i use the CopyTo() method?</p>
  
  <pre><code>System.Net.HttpWebRequest request 
  using (FileStream fileStream = new FileStream("C:\\myfile.txt")
  {                        
      using (Stream str = request.GetRequestStream())
      {                   
           fileStream.CopyTo(str);
      }
  }
  </code></pre>
  
  <p>More specific: What happens to the data?<br>
  1. write into the memory and upload then? (what's with big files?)
  2. write into the network directly? (how does that work?)</p>
  
  <p>Thanks for your answers</p>