add copy button to the code generator tool