title: Writing File object to another location
body: <p>I have chosen file using </p>
  
  <pre><code>File file = fileChooser.getSelectedFile();
  </code></pre>
  
  <p>Now I want to write this file chosen by user to another location when user clicks save button.  How to achieve that using swing?</p>