What will happen if I copy more pictures to my iCloud account than my iPhone has in spare space?

Solution 1:

In the Photos Settings in the Settings app on your iPhone, you can select optimize storage.

Then will it only save often viewed pictures in full quality, and rarely viewed as a thumbnail, if you're looking at a picture on your iPhone it'll automatically start to download the picture in best quality.