Yeah, my bad, that's for the 2011 version, it's under file, then export. (Messages)

If you want to do your contacts as well, you have to select the contacts window, then file, export. (Comma separated values .CSV)

Save them both to a familiar location, like documents or deesktop.