chadlwilson edited a comment on pull request #319: URL: https://github.com/apache/commons-io/pull/319#issuecomment-1021213271
If the intent is to re-use NIO logic, I suppose the `Files.copy` could be preceded by `Files.createDirectories(destination.getParentFile().toPath());` The usage of `Files.copy` probably also needs `CopyOptions.REPLACE_EXISTING`. Haven't thought through all the other cases either, as there are some missing exception cases here in the tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org