Line cake pans with lightly oiled aluminum foil before adding the cake batter. When the cake is done, allow it to cool down in the pan before removing it; otherwise the cake may crack or split.
The cake can then be lifted out of the baking pan by the aluminum foil edges with little effort.
Or, place the cake dish, centered, over the top of the cake in the pan. Carefully, by holding the baking pan and the cake dish together on each side, flip the cake over and gently peel off the aluminum foil. 
bravenet.com