dot-copyUi function

This copies the rxode2 UI object so it can be modified