These flags should be passed as options to doCopyFile... Some copies you will want to flush, others not (e.g., dlls copied locally)