Is this on one e-ticket? I would think if so when you check in for the Copa flight for your PTY connection (you don't say where you're boarding), they can issue the boarding pass on the KLM flight. If you have luggage it sounds like you expect them to tag it onto the KLM flight.
Why would you not be able to check in for the KLM flight?