Grease a square pan with enough butter and keep aside.
Meanwhile prepare the chocolate cake by following the instructions in the package of the storebought chocolate cake mix.
Mix the melted butter, cream cheese and whisk until the mixture turns smooth. Add the powdered sugar and beat again.
Drop the chopped pecans, coconut flakes to the bottom of the already prepared pan.
Preheat the oven to 350F.
Pour in the prepared chocolate cake batter and spoon the cream cheese mixture over the cake batter, sprinkle the chocolate chips.