I have a textfile in the following folder: C:\myfile.txt

This file is updated once in while. Is it possible to automatically copy the file from C:\myfile.txt to C:\newfolder\myfile.txt every time the file has been updated using R?

If it is not possible in R, do you then know another program that can do it?