Attending a summer school will not give you an edge in your application as not all students would have access to them. It may, however, be useful for you to learn about your subject et cetera.
Also, it is important to stress that a lot of summer schools in Oxford and Cambridge are run by private companies and they will not be able to give you any information that is not available publicly.