copyRule function

Rule for copying a file to a new location