utils.copytree: close destination. return errors