$ cp .vimrc{,.bak}
This expands into the command
cp .vimrc .vimrc.bak
.