This is a symbol of baptism, which now saves you-- not the putting away of the filth of the flesh, but the answer of a good conscience toward God, through the resurrection of Jesus Christ,
So they were saved by the water or by the ark in the water. Even so, "Baptism," Peter says, "saves us." But then lest people make a mistake, he points out; it isn't the physical ritual.