See, I am not very experienced in python, but the way I see it, you are trying to copy a GENERIC file from one to other. This is not the text file case else it would have been trivial in python..
So here is a stackoverflow discussion on something similar.. I think this shall help..
stackoverflow.com/questions/123198/how-do-i-copy-…