AMD interview question

What is a static variable in a function? What does memcpy do?