Place one crust on a lightly greased cookie sheet or pizza pan. Press out fold lines.

In a large bowl, combine sugar and butter. Add flour, cinnamon, dates, walnuts and coconut, mixing well. Spoon filling onto crust on cookie sheet. Spread to within an inch of edges. Brush edges of crust with water. Top with second crust and crimp edges to seal. Brush top with beaten egg.