Use a php block.
echo '<img src="url/to/image.jpg">
code that you want people to be able to copy
</' . 'textarea>
The reason that you need to use a php block is that there is an issue with the closing textarea tag. If you just put in a plain textarea, you'll have problems with your block.