That's a wrap

Could someone help explain the phrase used by movie directors at the end of a shoot: "That's a wrap". Where does this phrase come from / what did it originally refer to? Thanks!

Replies