In an isolated system where two blocks of different temperatures are in contact, heat will flow from the hotter object (Block 1 at 40°C) to the cooler object (Block 2 at 20°C) until thermal equilibrium is reached. The final temperature will be somewhere between the two initial temperatures.
Assuming no heat is lost to the environment, the final temperature can be calculated using the principle of conservation of energy. Since both blocks are made of the same material (copper), they will eventually reach the same temperature.
The ending temperature of both blocks will be greater than 20°C and less than 40°C. If you had to choose one picture, it would show both blocks at an equal temperature (which is between 20°C and 40°C).
Since I cannot see the pictures you have, the correct one should portray both blocks at a final temperature that is the same for both, representing thermal equilibrium.