memmove for shifting elements in the underlying storage