I am wondering how the singular chain complex functor from the category of topological spaces to the category of chain complexes of abelian groups takes a mapping cone to a mapping cone in the sense of chain complexes as it is claimed in https://ncatlab.org/nlab/show/mapping+cone. Also, in Rotman's book "An introduction to algebraic topology" p. 350, it is pointed out "One can show that this geometric construction corresponds to the algebraic mapping cone".
I am interested in a clear explanation.
Many thanks