to master an accent one needs

learn the pronunciation rules of a new accent

practice the rules to be phsysically ready to use them