Electron beam induced charging of Cu/MgO surfaces