Rename a hidden file on OS X

Solution 1:

In the worst case you could always open a terminal and rename it there.

mv ".hgignore copy" .hgignore

Solution 2:

The easiest way, I've found, is to CTRL(right)-click on the file, choose Get Info, change the name in the Name and Extension box, and hit Return (or just close the Get Info window).