add copySync filepath change function