Effects of copper doping in MgB2 superconductor