Default broken micro USB port

Hello,

I want to swap out a broken micro usb port, with a functioning port from the same kind of device. Does anyone know how to do this, or if it's even possible to do. Any kind of info would be much appreciated. Thank you.