Mathematical modeling of copper and brass upcasting