code: def copy_files(source_files, target_directory, source_directory=None):
      
      try:
          os.makedirs(target_directory)
      except:     # TODO: specific exception?
          pass
      for f in source_files:
          source = os.path.join(source_directory, f) if source_directory else f
          target = os.path.join(target_directory, f)
          shutil.copy2(source, target)
docs: Copies a list of files to the specified directory.
      If source_directory is provided, it will be prepended to each source file.