def METHOD_NAME(self):
    f = self.f = aifc.open(self.sndfilepath)
    fout = self.fout = aifc.open(TESTFN, 'wb')
    fout.aifc()
    fout.setparams(f.getparams())
    for frame in range(f.getnframes()):
        fout.writeframes(f.readframes(1))
    fout.close()
    fout = self.fout = aifc.open(TESTFN, 'rb')
    f.rewind()
    self.assertEqual(f.getparams(), fout.getparams())
    self.assertEqual(f.readframes(5), fout.readframes(5))