change copyFile to boost library copy.