def copy_newer()

in script/common.py [0:0]


def copy_newer(src, dst):
  if not os.path.exists(dst) or os.path.getmtime(src) > os.path.getmtime(dst):
    if os.path.exists(dst):
      os.remove(dst)
    shutil.copy2(src, dst)