async copy(from: URI, to: URI, opts: IFileOverwriteOptions): Promise<void> {
try {
const originalFrom = this._decodeUri(from);
const originalTo = this._decodeUri(to);
await connection.resourceCopy({ channel: ROOT_STATE_URI, source: originalFrom.toString(), destination: originalTo.toString(), failIfExists: !opts.overwrite });
} catch (err) {
throw this._mapError(err, FileSystemProviderErrorCode.NoPermissions);
}
/**