A simple hook to copy text from a given HTML element to your clipboard with copy-to-clipboard library