Fix copy for osx command