If I understand correctly, both laptops have 4 gigs of RAM?
If that's the case, you could only do that if the new laptop has spare/empty memory slots where you could fit the RAM from your old one. I really doubt that's the case.
Now, if your old laptop has 8 gigs and the new one has 4 gigs and...