Less platform dependent file copy

Note uses Java 7
Merge pull request #1 from Logicail/patch-1

Less platform dependent file copy