Fixed cp argument order in prepublish script