Auto populate address of an Account after selecting it in Lookup field?

Auto populate address of an Account after selecting it in Lookup field?

For example, in the "Quotes" module, when you select an Account it auto-populates the Billing Address into the fields.

I want to basically do this same thing but in another module, i.e. I have a lookup for the accounts module. Upon selecting the account, data is subsequently loaded into their appropriate fields. Bonus if I am able to manipulate the format of the data but that isn't important.