Mistakes and the evolution of copying