Added shallow copy function for boards.