class_docstr: Checks all functions of the LocalFileDriver
class_docstr_tok: ["Checks","all","functions","of","the","LocalFileDriver"]
code: def test_copyfile(self):
      # Create first file to copy
      relative_filepath = "test.json"
      self.local_file_driver.create(relative_filepath)
      # Create destination directory
      relative_dst_dirpath = "dest"
      self.local_file_driver.create(
          relative_dst_dirpath, directory=True
      )
      # Copy file to destination
      filepath = os.path.join(
          self.local_file_driver.root, relative_filepath
      )
      dst_dirpath = os.path.join(
          self.local_file_driver.root, relative_dst_dirpath
      )
      self.local_file_driver.copyfile(filepath, dst_dirpath)
      assert os.path.isfile(
          os.path.join(dst_dirpath, relative_filepath)
      )
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import shutil
  import tempfile
  import platform
  from io import TextIOWrapper
  from datmo.core.util.misc_functions import get_datmo_temp_path
  from datmo.core.controller.file.driver.local import LocalFileDriver
  from datmo.core.util.exceptions import PathDoesNotExist
  from datmo.config import Config
label_desc: Use image node_id 6 for calling the TestLocalFileDriver obj's underlying member method code with example usage: obj.test_copyfile() without return types