Preheat oven to 325 degrees F (165 degrees C). Spray 9x13-inch pan with cooking spray.
Spread coconut and pecans over bottom of pan.
Mix cake mix according to package directions. Pour over the pecans and coconut.
Melt butter, add with cream cheese, vanilla, and confectioners' sugar to a medium-sized bowl and mix well. Spoon with a teaspoon over the cake.
Bake cake at 325 degrees F (165 degrees C) for 50-55 minutes or until done.