use sync insted of cp