title: Copying Files with Spaces
body: <p>I'm trying to copy one file to another directory, but the way I am copying the file is not working when the source path has a directory with spaces in it, e.g.</p>
  
  <pre><code>/Volumes/public/Music/Directory With Spaces/01.mp3
  </code></pre>
  
  <p>I am using: <code>http://commons.apache.org/io/</code></p>
  
  <p>I can't find a way around this, any ideas?</p>
  
  <p>Edit: The problem should probably be putting paths with spaces into a java.io.File object.</p>