Avid Technology interview question

Write a function that moves memory from one location to another.