Hi i have created a custom module and would like for addresses to show in detail view as they do in accounts, how would this be achieved?

In my custom module i have to all fields in to the detail view where as in accounts it shows all in one box and has a copy button in.

Please advise.