Python3 代码
def copy(a, b, size):
for i in range (size):
b[i] = a[i]
return b
m, n, size = map (int, input().split())
a = list (map(int, input().split()))
b = list (map(int, input().split()))
copy (a, b, size)
print (*b, sep = " ")