public void copyBoardFrom(GoBoard otherBoard) {
		
		if (otherBoard!=null && getCols()==otherBoard.getCols() && getRows()==otherBoard.getRows()) {
			
			for(int i=0;i<getCols();i++) {
				for(int j=0;j<getRows();j++) {
	
					setStone(i,j,otherBoard.getStone(i,j));
					
				}
			}
			
		}
		
	}