I do this, although only by saying
sudo cp hosts.play /etc/hosts
or sudo cp hosts.work /etc/hosts
It's simple, and surprisingly efficient.