Copy Values From One Array To Another Javascript Interview Question