Ok thank you guys I will do this connnection in that case, Aside from just being partners I actually booked the Copa flight together with the United one as 1 ticket on United.com. My other option was going through ORD, but I would add 2 hours to travel time, not to mention getting up at 3 am for the flight to ORD so this is a much better option.