Fixed kingPositions bug

Previous board.duplicate() function only duplicated board positions,
not data such as the king positions or en pas sent square.