http://gambaswiki.org/bugtracker/edit?object=BUG.2255&from=L21haW4- Comment #5 by Benoît MINISINI: To move the 6th element of MyBigArray to MySVar, just write: MySvar = MyBigArray[5] You should never use memmove(), it's dangerous. It won't work if you use non-numeric types.