# 配列のコピー. Shallow Copy

# Python

arr2 = copy.copy(arr1)

# Ruby

arr2 = arr1.dup

[ 📩 ご意見 ]