add arr ref , arr.dup