Basically this is what I want to happen, but of course the formula doesn't work.

This is done in Sheet2

If Sheet1!A2=x THEN A4:G4 should equal Sheet1!A4:Sheet1!G4

(basically I want A4:G4 to copy Sheet 1's A4:G4 if a certain Cell ="x"

Hopefully this makes sense and thanks in advance.