In Illustrator, the envelope works like a mask, it hides the parts of the object that is outside the envelope. It goes further by changing the shape of the object to fit the shape of the envelope.
I tried Placing both into a new Illustrator document, but Illustrator won't let me distort the top two corners. I used the Free Transform tool on one of the top corners with the Ctrl key held down, ...