How can I archive automatically on reply in mail?
Apple's Mail.app doesnt have a feature to toggle for this, but you /can/ do this in Sparrow. 

Sparrow has a lite version that might suit your needs, but the full version does what you ask.