Three-dimensional simulation of nanoscale copper interconnects