Equipments' duplication bug

1. no idea why there are 9 changed files. I only modified equipment.py

2. Didn't know how to call the function _get_pin from within the copy function so had to generate the pin in the function itself.