You can clone with
this module should also have move / moveFile API
This won't be hard to do, I can put this in the next release.
Ideally it would try fs.rename first, because that's blazingly fast, but that doesn't work if you're trying to move a file across filesystem boundaries. So you would have to catch that error and then do the input stream / output stream piping technique.
Can I make you a pull request?
Ya, sure, that would be helpful. Just don't bump the version number.
Just a heads up, I decided not to make a pull request to node-fs-extra because I decided that I'm going to simply require rimraf, ncp, mkdirp, etc directly when I need them.
Here's an implementation of moveFile though if you want it: https://github.com/superjoe30/node-mv
Fair enough. Thanks for the heads up.