This question is surprisingly popular. However, the answer is quite simple. The goals of both are different: The goal of testing is to find the errors. The goal of QA is to prevent the errors in the program.
[Source: JAGAN MOHAN "Interview questions bible"]
[Source: JAGAN MOHAN "Interview questions bible"]