a = [1, 2]
b = [3, 4]
combined = a + b
puts combined # خروجی: [1, 2, 3, 4]