Restore the copy button functionality to ensure it copies pre-formatted text with all symbols and markdown intact

Restore the copy button functionality to ensure it copies pre-formatted text with all symbols and markdown intact, preserving the original formatting. For example, **Hi** should be copied as is, rather than converting it to Hi . The current behavior makes it less practical for use in the ChatGPT macOS application.

This is not only about markdown text.