How does Copenhagen manage it's bus fleet

I work in public transit and was told Copenhagen has one of the best models of using buses and minibuses in the city. I was told they reroute their buses during the day (or after hours), making them on-demand etc.

Can anyone tell me how this works?