def METHOD_NAME(self, dest: str, reset_orientation: bool = True) -> bool:
    """Copy metadata from the current image to dest image."""
    if self._metadata is None:
        return False
    if reset_orientation:
        with contextlib.suppress(KeyError):
            self._metadata[
                "Exif.Image.Orientation"
            ] = metadata.ExifOrientation.Normal
    try:
        dest_image = pyexiv2.ImageMetadata(dest)
        dest_image.read()
        # File types restrict the metadata type they can store.
        # Try copying all types one by one and skip if it fails.
        for copy_args in set(itertools.permutations((True, False, False, False))):
            with contextlib.suppress(ValueError):
                self._metadata.copy(dest_image, *copy_args)
        dest_image.write()
        return True
    except FileNotFoundError:
        _logger.debug("Failed to write metadata. Destination '%s' not found", dest)
    except OSError as e:
        _logger.debug("Failed to write metadata for '%s': '%s'", dest, str(e))
    return False