I will bring her a cup of coffee.
=> she receives the coffee.
 I will bring a cup of coffee to her.
=> she is the goal; she is where the coffee will go.
 I will bring a cup of coffee for her.
=> she benefits from my action; I will do it for her.
In the end, she benefits from all three. She gets a coffee.
All the best.