def METHOD_NAME(src_path, src_format, dst_path):
    # We copy in two steps:
    # 1. Convert image to raw sparse file on local storage
    # 2. Write sparse file to lv, keeping sparseness
    # On files systems supporting sparsness (e.g. NFS 4.2), this is also the
    # fastest way to copy from shared storage. On other file systems, copying
    # raw imaged directly may be faster.
    with tempfile.NamedTemporaryFile(dir=TMP_DIR, prefix="localdisk.") as tmp:
        convert_image(src_path, src_format, tmp.name)
        copy_sparse(tmp.name, dst_path)