Using Files.copy functions in java 7