add copy method in array