Implements fs.copyTree()