Preheat oven to 350°.
Arrange coconut in a single layer in a small baking pan. Bake at 350° for 6-7 minutes or until lightly toasted, stirring once. Set aside to cool.
Weigh or lightly spoon flour into a dry measuring cup; level with a knife. Combine flours, baking powder, baking soda, and salt in a medium bowl; stir with a whisk until blended. Place sugar and butter in a large bowl; beat with a mixer at medium speed until well blended. Beat in vanilla and egg. Add flour mixture, beating at low speed just until combined. Stir in toasted coconut and chocolate.
Drop by level tablespoons 2 inches apart onto baking sheets coated with cooking spray. Bake at 350° for 10 minutes or until bottoms of cookies just begin to brown. Remove from pan, and cool completely on wire racks.