During an action potential, depolarization occurs as a result of

K ions diffusing to the outside of the cell membrane
K ions diffusing to the inside of the cell membrane
Na ions diffusing to the outside of the cell membrane
Na ions diffusing to the inside of the cell membrane
Na and K ions not diffusing