sift together flour, baking powder, baking soda, salt and cinnamon. Add sugar, oil and eggs; mix well. add carrots, pineapple, nuts and coconut; blend thoroughly. Pour into 3 greased and floured 9 inch cake pans.
Bake for 25 to 30 minutes or til toothpick inserted in center comes out clean. Don't overcook. Cool in pans for a few minutes, then remove and let cool on wire rack.
To make frosting, beat butter, cream cheese and vanilla til creamy. Gradually beat in sugar. If too thick, add a small amount of milk. Frost the cake. Sprinkle with coconut if desired. Makes 8 to 10 servings.