Copy button in docs.

Closes #339.