For example, it would be nice to be able to copy "4(a + 2)" into the user's copy-paste buffer from the markup <math>4(a + 2)</math>.
For more complex formulas where it's difficult to serialize, perhaps the LaTeX markup would be what is copied, though often intelligent conversions can be made, like "\frac{\sqrt{a + 2}}{5}" could be mapped to "√(a + 2)/5".
If this can't be done with highlighting + Ctrl+c, some JavaScript mechanism could work, for example adding a "Copy formula" option to the right-click menu.