Duplicates the functionality of Microsoft's robocopy in Python.