The cornflour is added to the apples to help thicken the juices that are released from the fruit as it bakes. If you don't add the cornflour you'll get all the juices running out of the pie when you cut into it.