How can I find out which file is copying by windows or windows is trying to access? How can I restrict it? I want my program monitor these activities and respond...
You could look at the various directory and file change notifcations, see here for more details as it's not a simple topic:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261(v=vs.85).aspx