The Copy SOP aligns the objects along Z, and you'll want the objects to be at origin as well, so they are copied ont the point. In your line sop, set the Direction to 0,0,1, that will align the red lines along the box default normals. Your curve that you've drawn is being copied properly, but it's hard to tell what you're trying to get, since the curve isn't at origin, nor is it Z-aligned.
To give them a direction to copy along, add N (normals) to your box. If you set N to 0,1,0, everything will be aligned upward. (first picture). Also, you can randomize N, and even add pscale to randomize the size (second picture). There are many more attributes
] which give you more control when copying objects to points, but just using N and having your objects Z-aligned and at origin is very common.
Hope that helps!