copy folders in C++ overwriting changed files

Hi, I need to write a program that copies a folder with all its subfolders to another loacation but I need to overwrite ONLY the files that have been changed since last executuion of this program. Can someone give me a clue?
Topic archived. No new replies allowed.