fix getArrayCopy to well working with filters