title: How Write a Stream into a xml file in Isolated Storage
body: <p>I'm trying to implement SkyDrive backup into my app. Everything is working fine except I have no idea how to easily save stream (with downloaded backup from SkyDrive) into Isolated Storarage.</p>
  
  <p>I know that I could deserilaze the stream and than save it, but it would unnecessarily complicated.</p>
  
  <p>So, here's my problem:</p>
  
  <p>I have a Stream with the file from SkyDrive and I need to save it into IsolatedStorage as file 'Settings.XML'.</p>
  
  <p>So basicly I need to Write the 'stream' into Settings.xml file in Isolated Storage</p>
  
  <pre><code>        static void client_DownloadCompleted(object sender, LiveDownloadCompletedEventArgs e, string saveToPath)
      {
          Stream stream = e.Result; //Need to write this into IS
  
          try
          {
              using (IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication())
              {
                  using (IsolatedStorageFileStream fileStream = myIsolatedStorage.OpenFile(saveToPath, FileMode.Create))
                  {
                      //How to save it?
  
                  }
              }
          }...
  </code></pre>
  
  <p>Thanks!</p>