use NIO to move file