Switch Brompton P handlebar to M?

I have an older Brompton with the P handlebar. Is it easy to swap to the M handlebar and if so what do I need other than just the M style handlebar?

Thanks