def METHOD_NAME(dirFrom, dirTo):
    """
    copy contents of dirFrom and below to dirTo
    """
    global dcount, fcount
    for file in os.listdir(dirFrom):  # for files/dirs here
        # print file
        pathFrom = os.path.join(dirFrom, file)
        pathTo = os.path.join(dirTo, file)  # extend both paths
        if not os.path.isdir(pathFrom):  # copy simple files
            try:
                if verbose > 1:
                    print("copying", pathFrom, "to", pathTo)
                cpfile(pathFrom, pathTo)
                fcount = fcount + 1
            except Exception:
                print("Error copying", pathFrom, "to", pathTo, "--skipped")
                print(sys.exc_type, sys.exc_value)
        else:
            if verbose:
                print("copying dir", pathFrom, "to", pathTo)
            try:
                os.mkdir(pathTo)  # make new subdir
                METHOD_NAME(pathFrom, pathTo)  # recur into subdirs
                dcount = dcount + 1
            except Exception:
                print("Error creating", pathTo, "--skipped")
                print(sys.exc_type, sys.exc_value)