I have found it is really beneficial to copy somebody else, but ONLY if you take the extra step of completely deconstructing the solution to understand exactly what makes it work. Once you've identified the inner workings of it you have gained the ability to change it to fit your needs and take it far beyond the original design. In short, learn the principles behind the design and you can apply it anywhere.