OSX cp doesn't support -u

(cherry picked from commit c718ac9e972e1bbbb9a676054137ac6d0536963b)

Change-Id: I7fb39b17d548d37aa33b6b1c1dabedacc4d228c5