The program moves a list of rst files along with their image dependencies to a target directory. It then outputs redirects in the format the ReadTheDocs backend expects.