def METHOD_NAME(self, song, directory, index, pattern):
    filename = song["~filename"]
    print_d("Copying %s." % filename)
    new_name = pattern.format(song)
    copyfile(filename, "%s/%04d - %s" % (directory, index, new_name))