#include <iostream>
using namespace std;

class Shape {
public:
    int lineCount;
    string name;

    Shape(int lineCount, string name) {
        this->lineCount = lineCount;
        this->name = name;
    }

    Shape(const Shape &obj) {
        this->lineCount = obj.lineCount;
        this->name = obj.name;
    }
};

Shape square {4"Square"};
Shape squareCopy = Shape(square);

cout << "name is " << squareCopy.name << endl;
cout << "lineCount is " << squareCopy.lineCount;