code: def prepare_app(src_dir: str, dst_dir: str, release_version: str):
      for system, archs in get_sys_arch_list():
          bin_suff = ".exe" if system == "windows" else ""
          for arch in archs:
              os.rename(
                  os.path.join(
                      src_dir,
                      f"bin_{system}-{arch}",
                      "catboost" + bin_suff,
                  ),
                  os.path.join(
                      dst_dir,
                      f"catboost-{system}-{arch}-{release_version}{bin_suff}",
                  ),
              )
  
      # legacy names for compatibility
      shutil.copy2(
          os.path.join(
              dst_dir, f"catboost-windows-x86_64-{release_version}.exe"
          ),
          os.path.join(dst_dir, f"catboost-{release_version}.exe"),
      )
      shutil.copy2(
          os.path.join(
              dst_dir, f"catboost-darwin-universal2-{release_version}"
          ),
          os.path.join(dst_dir, f"catboost-darwin-{release_version}"),
      )
      shutil.copy2(
          os.path.join(
              dst_dir, f"catboost-linux-x86_64-{release_version}"
          ),
          os.path.join(dst_dir, f"catboost-linux-{release_version}"),
      )
  
file_path: catboost/ci/prepare_release_artifacts.py
imports: import argparse
  import os
  import shutil
  import tarfile
  import tempfile
label_desc: Use image node_id 2 for calling a global function with example usage: prepare_app(src_dir, dst_dir, release_version) without return types