Australia defeated England by five wickets in the high-scoring Champions Trophy match, successfully chasing a total of 352.