In 7.1, if you right click a cell, you can copy with headers. It will copy the name, as well as the element you have selected. If you select an entire row (by clicking the record number), you can do this to get all the variable names.
It would be nice to just copy the headers, without having to do a proc contents, e.g.