code: def create_tmp_copy(file_path: str) -> str:
      """Copies file at file_path to a temporary file and returns the path."""
  
      base_file_name = os.path.basename(file_path)
      tmp_dir = tempfile.gettempdir()
      tmp_path = os.path.join(tmp_dir, base_file_name)
      shutil.copy(file_path, tmp_path)
      print(f"Copied file at {file_path} to {tmp_path}")
  
      return tmp_path
  
file_path: ray/python/ray/tests/test_typing.py
imports: import os
  import shutil
  import sys
  import tempfile
  import mypy.api
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: create_tmp_copy(file_path) and returns: tmp_path