Preheat oven to 325 degrees. Spray two 9-inch cake pans with nonstick cooking spray. Set aside.
In the bowl of a mixer, combine cake mix and 20 oz of undrained crushed pineapple. Mix on low for 1 minute and then medium speed for 2 minutes. Divide batter between prepared baking pans and bake for 20-25 minutes or until done. Let cool for 15 minutes and then transfer from pan to cooling racks to cool completely.
Frosting
Beat softened cream cheese until smooth. Fold in cool whip and drained, crushed pineapple. Spread icing on one cooled cake. Top with second cooled cake and spread icing on top. Sprinkle with toasted coconut flakes.