Alternative to cp --parents in terminal
rsync -R (--relative) is like cp --parents. So rsync -rR a/b c copies to c/a/b instead of c/b.

Or just install the GNU cp with brew install coreutils or sudo port install coreutils and use gcp -r --parents a/b c.