On the trial of any convict for any offense committed within the penitentiary or other convict prison or convict camp, the fact of confinement in the penitentiary shall be presumptive evidence of a legal conviction and sentence of imprisonment, and a copy of the transcript of the conviction and sentence filed with the Board of Corrections and certified by it to be correct shall be received as evidence of such conviction.