If you select the small harvester there should be a button next to the move command that looks like a planet with an arrow coming out of it. That's the harvest button. Once you've pressed it you'll see some new buttons come up to set a source / destination planet. Once the command is confirmed your harvester will start collecting ore from your mining colony and taking it to it's destination planet.