fs: add recursive cp method
Introduces recursive cp method, based on fs-extra implementation
Refs: https://github.com/nodejs/tooling/issues/98 Fixes: https://github.com/nodejs/node/issues/35880
Opening to start conversation.
TODO:
-
still have many tests to write, to increase coverage. (coverage is at 92%). -
need to document sync and promise API.
CC: @nodejs/tooling, @jprichardson, @manidlou, @RyanZim