Alexis Sanchez scored a second-half winner to give Chile a 2-1 win over Ecuador and a spot in the quarterfinals of the Copa America on Friday.