changed program of copypath