def copy_default(filename, to_filename = None):
  if to_filename is None:
      to_filename = filename

  with closing(open_data("defaults/%s" % filename)) as default:
    with open(to_filename, "w") as destination:
      copyfileobj(default, destination)
dataset/ETHPy150Open domrout/python-twitter-wrapper/twitterwrapper/_utils.py/copy_default/original