Create a Copy Button for Code Blocks

Build a copy button with visual feedback using the Clipboard API and React hooks.