checkNotNull( "source", source );
checkNotNull( "target", target );
final FileSystemProvider provider = providerOf( source );
if ( providerOf( target ) == provider ) {
provider.copy( source, target, options );
return target;
}
throw new UnsupportedOperationException( "can't copy from different providers" );
}