REMOVED obsolete variable moves
ENHANCED loop by using System.arraycopy