changed FileSync function name to Cp