How do I select the number of an incoming SMS?
In Google Hangouts, if I click the contact bubble (the circle on the right where their picture would be) it brings up their contact card. If you long-click the number there, there's an option to copy it to the clipboard.

NOTE: you may need to add the number as a contact to view the number in the "contact card."