def copy_files(file_paths, destination, ignore_errors=True):
 for file_path in file_paths:
  try:
   shutil.copy(src=file_path, dst=destination)
  except IOError as e:
   if (not ignore_errors):
    raise e
 return True

def copy_files ( file_paths , destination , ignore_errors = True ) : for file_path in file_paths : try : shutil . copy ( src = file_path , dst = destination ) except IOError as e : if ( not ignore_errors ) : raise e return True
copy files to the provided destination .