move memory code