01 - Preheat the oven to 400°F.
02 - In a large bowl, combine sliced peaches, granulated sugar, brown sugar, flour, lemon juice, vanilla extract, cinnamon, and salt. Toss gently until peaches are evenly coated. Set aside.
03 - In a separate bowl, whisk together flour, sugar, and salt for the crust.
04 - Add cold butter cubes and cut them into the flour using a pastry blender or fingertips until the mixture resembles coarse crumbs.
05 - Gradually drizzle in ice water, stirring with a fork, until the dough just comes together. Do not overwork.
06 - Turn the dough onto a lightly floured surface and shape into a disk. Wrap in plastic and chill for 15 minutes.
07 - Pour the peach filling into a 9x13-inch baking dish.
08 - Roll out the chilled dough to fit the top of the baking dish. Place over the peaches, trimming excess and crimping edges. Cut a few small slits in the crust for steam to escape.
09 - Brush the crust with beaten egg and sprinkle with coarse sugar if desired.
10 - Bake for 40-45 minutes, or until the crust is golden and the filling is bubbling.
11 - Let cool for at least 15 minutes before serving. Enjoy warm, optionally with vanilla ice cream.