Slot::Slot(const Slot &cpy) { const int *st = cpy.GetStrTime(); const int *et = cpy.GetEndTime(); for (register int i = 0; i < 6; i++) { str_time[i] = st[i]; end_time[i] = et[i]; } movieID = cpy.GetMovieID(); cost = cpy.GetCost(); }