Without more context it's hard to be certain, but usually stealing a line refers to a line of speech, like in scripts. It could be a joke, a reaction, greeting, or anything else spoken. It just means the person who says they are stealing it wants to use it in their own speech.