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.
/Volumes/public/Music/Directory With Spaces/01.mp3
I am using: http://commons.apache.org/io/
I can't find a way around this, any ideas?
Edit: The problem should probably be putting paths with spaces into a java.io.File object.