I don't know that you need a python script to do that. Simple bash will do it. But, if you want to go down that route, here is some help:
Example a basic python backup script:
https://codereview.stackexchange.com/questions/66546/backup-files-script
Example of a closer example that only copies specific files and maintains directory structure:
https://stackoverflow.com/questions/35155382/copying-specific-files-to-a-new-folder-while-maintaining-the-original-subdirect
and a cron formatter so that you can schedule it:
https://www.freeformatter.com/cron-expression-generator-quartz.html
I highly recommend asking these types of questions over at stackexchange or stackoverflow, as there are more people over there equipped to answer that type of a question. Not that the Splunk community can't, but that you'll have more success over there with this type of question.
... View more