Comment on Archive

I may be slow, but isn't this what happens when you press delete key when having one or more emails selected in Mail.app (while using Gmail via IMAP)? I.e. the message(s) go to the "All Mail" folder on Gmail accounts.