Finish adding support for copying directoires.