Cosmological evolution of dark matter is similar to that of visible matter