In excel How do you copy two different ranges into another worksheet?

In excel How do you copy two different ranges into another worksheet? It keeps coming up with an error that I

can’t do that