If bricks and fix

- Copy methods for if bricks
- Fixed copying not working properly after merge