Changed result array to copy