Possible to copy-paste forms from one app to another?

Copying client-side code is not a problem., but designing the UI again is quite inconvenient.
Is there a way to show code of the UI and copy and paste the code to the new app?