Preheat oven to 350.
Using a stand or hand mixer, combine cake mix, butter, eggs, and coconut extract until creamy and smooth.
Scoop even, leveled amounts of dough onto a cookie sheet lined with parchment paper or a silicone mat. Bake for 8-10 minutes or until edges are very lightly browned. (Cookies are light in color) Allow cookies to cool completely before filling. If using a medium scoop that holds 1.5 tablespoons, it will make 60 cookies.
To make filling, add pineapple and brown sugar to a small saucepan. Whisk in cornstarch. Bring to a low boil then simmer for 5 minutes. Remove from heat and let cool completely.
Using a stand or hand mixer, beat cream cheese and confectioners sugar together. Add in pineapple and coconut extract. Mix until smooth. If filling is too runny, add more sugar until desired thickness is reached.
Add about 2 tablespoons of filling to a cookie, then top with another cookie. Roll edges in crunchy, toasted coconut flakes if desired. Store cookies in refrigerator.