Can you explain me how to fill arraycopy function?