The law of conservation of mass states that matter cannot be created nor destroyed, only it's form changed. Take the example of burning a piece of paper. It seems that the mass shrinks as the paper burns. However, what is really happening is that the paper is changing form to ash, carbon dioxide, and water vapor. If you could capture all of those bits during the burning, they would have the same mass as the paper itself.