Cells in your body replicate for purposes such as making new skin or blood cells. When mistakes occur, there are repair systems in place to remedy the mistake or alternately, a cell has a marker for destruction. If a cell survives a mutation, there are still benefits to an organism. In fact, this concept is essentially the basis for evolution.