Preheat the oven to 350 degrees F. Prepare a 9x13 baking pan with baking spray. Set aside.
In a medium bowl whisk together the flour, baking powder, and salt and set aside.
In a small saucepan, combine the milk, ¼ cup butter, both extracts, and bring to a boil over medium heat. Turn off the heat.
Beat the eggs in a mixing bowl until smooth and slowly add in the sugar. Pour in the flour mixture and mix well. Slowly add in the warm milk mixture and mix until smooth and combined.
Pour the batter into the 9x13 prepared pan.
Bake for about 30 to 35 minutes or until a toothpick inserted in the center comes out clean. Remove from the oven and allow to cool.
While the cake is baking you can prepare the coconut topping.
In a saucepan, melt the butter over medium heat. Stir in the dark brown sugar and milk until combined. Add in the coconut and stir until combined.
Allow the cake to cool for 10 minutes before spreading the topping evenly over the 9x13 cake.
Let the cake sit for 20 minutes before serving.
Optional to place the cake under the broiler to toast the frosting:
Turn the oven on BROIL. Pace the cake under the broiler for 2-4 minutes or until it is bubbly and the coconut begins to toast.