How to Add the "Copy to Clipboard" button near a text

How to Add the “Copy to Clipboard” button near a text