fix uninitialized memory error in Parameter::copy()