from shutil import copyfile


def copy_file(src, dst):
    """
    Copies the file from the sourcepath (src) to the destinationpath (dst).
    returns a message for the Log file.
    """
    try:
        copyfile(src, dst)
        message = "Successfully copied: {}\n".format(src)
        print(message)

    except:
        message = "Error: File could not be copied - maybe filepath incorrect?\n->{}\n->{}\n".format(src, dst)
        print(message)
        #time.sleep(60)

    return message