code: def test_copy_file(self):
      src_dir = self.mkdtemp()
      foo = os.path.join(src_dir, "foo")
      write_file(foo, "content")
      dst_dir = self.mkdtemp()
      copy_file(foo, dst_dir)
      self.assertTrue(os.path.exists(os.path.join(dst_dir, "foo")))
  
file_path: catboost/contrib/tools/python/src/Lib/distutils/tests/test_file_util.py
imports: import unittest
  import os
  import shutil
  from distutils.file_util import move_file, write_file, copy_file
  from distutils import log
  from distutils.tests import support
  from test.test_support import run_unittest
label_desc: Use image node_id 6 for calling the FileUtilTestCase obj's underlying member method code with example usage: obj.test_copy_file() without return types