Redmine#5776: remove sync_cp usage due to conflicts

(cherry picked from commit 9d252396342b413c9a627770bb67463b1908d9ad)