1. Select or open the message
  2. Click the down arrow next to Reply all
  3. Select the option View Message Details

The headers will appear in the box ready for copying into a new message or text editor.