Get your taxes done using TurboTax

the Tax Code prevents you from doing this sort of thing by limiting your capital loss to no more than $3,000 per year

 

if you wish, you may take out $3,000 from your 401k (not recommended). You will still have to pay the 10% penalty of $300.