SciPy - Integration with Scientific Ecosystem
Identify the error in this code snippet:
from scipy.io import wavfile
rate, data = wavfile.read('track.wav')
wavfile.write('copy.wav', data, rate)