Hi Wasma,
If you're using a mail application (like Apple Mail or Thunderbird) on your computer - you can configure it to receive email from your iCloud and Gmail accounts, then select all the messages from iCloud, and drag them to the "All Mail" folder in Gmail; this will copy them across, into the "Archived Mail" area of Gmail.
Hope that helps.