Improved the file/directory copying routines by delegating it to Apache Commons