A) Make sure your ship is bigger
B) Shoot a ton of highly charged electron beams at the enemy space ship to ionize their hull
C) Magnetize your hull to the opposite charge and bring in the ship