On the domination number and cop number of Erdős–Rényi random graphs