Specifically, the process you're describing is called binary fission in prokaryotes and mitosis in eukaryotes.