copy button with formatting