Attacking doesn't work like it does in the game Risk. You will only lose all of your attackers if there are enough defending armies to capture them all in one attack.
http://warlight.net/ViewHelp.aspx?s=Attacks
Hopefully that link will answer your questions.