If the dimensions of the wood are the same, then it means that they have the same volume.
The weight of an object is direct proportional to the volume but now the volume is constant.
So, if the blocks are from the same type of wood, then their weight will be the same.
If the blocks comes from different types of wood, then the weight would differ depending with the density of each type of wood. That is, if the wood is denser then it will weigh more than less dense wood.