Use cp instead of rsync to be compatible with msysgit on windows