If the perimeter and area of a square are numerically equal, then what will be the length of the side of the square?