title: UWP app trying to save a file to a folder
body: <p>I am currently developing a UWP app and I want to be able to open and read a .txt file from the virtual sd card, which I have working. What I am stuck on is when I view that file I want to add a button to the botton of the page that allows me to save a copy of that file to a specific location on the local machine. Below is the code for the current opening and reading of the file.</p>
  
  <pre><code>private async void Grid_Loaded(object sender, RoutedEventArgs e)
  {
       FileOpenPicker openPicker = new FileOpenPicker();
       openPicker.ViewMode = PickerViewMode.Thumbnail;
       openPicker.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
       openPicker.FileTypeFilter.Add(".txt");
       StorageFile file = await openPicker.PickSingleFileAsync();
       if (file != null)
       {
          var stream = await    file.OpenAsync(Windows.Storage.FileAccessMode.Read);
          using(StreamReader reader = new StreamReader(stream.AsStream()))
          {
               txtBLKallCloudReceipts.Text = reader.ReadToEnd();
  
          }
       }
  }
  </code></pre>
  
  <p>Any help would greatfully appreciated.</p>