Added custom copy method