Each time you click a column, one block is added. Build the same shape as the target, then click the Check button.
Even when shapes look similar, you can build them accurately by counting how many blocks are stacked in each column. Click a column multiple times to keep adding blocks. When it reaches the maximum height, it starts again from 0 blocks.